home *** CD-ROM | disk | FTP | other *** search
/ Trusted Irix /B 4.0.4 / Trusted-Irix B-4.0.1.iso / dist / eoe1.idb / usr / gfx / startgfx.z / startgfx
Text File  |  1992-04-03  |  990b  |  36 lines

  1. #!/bin/sh
  2. #
  3. # startgfx.sh
  4. #
  5. # start the window system
  6. #
  7. #
  8. # Copyright 1991, Silicon Graphics, Inc.
  9. # All Rights Reserved.
  10. #
  11. # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  12. # the contents of this file may not be disclosed to third parties, copied or
  13. # duplicated in any form, in whole or in part, without the prior written
  14. # permission of Silicon Graphics, Inc.
  15. #
  16. # RESTRICTED RIGHTS LEGEND:
  17. # Use, duplication or disclosure by the Government is subject to restrictions
  18. # as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  19. # and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  20. # successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  21. # rights reserved under the Copyright Laws of the United States.
  22. #
  23. # $Revision: 1.5 $
  24. #
  25.  
  26. /etc/chkconfig windowsystem on
  27.  
  28. /etc/killall -HUP xdm > /dev/null 2>&1
  29. ret=$?
  30. if [ $ret -eq 0 ]; then
  31.     /bin/echo "Sent SIGHUP to xdm"
  32.     exit
  33. fi
  34. echo "Starting xdm"
  35. exec /usr/bin/X11/xdm
  36.